class CreateGpsHistories < ActiveRecord::Migration
  def change
    create_table :gps_histories do |t|
      t.string :vehicle_no
      t.integer :longitude
      t.integer :latitude
      t.datetime :time
      t.string :direction
      t.string :speed

      t.timestamps
    end
  end
end
